import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        Solution solution  = new Solution();
        int[] arr = new int[]{1,3,5,7,2,4,6,8};
        int k = 4;
        int[] array1 = solution.smallestK(arr, k);
        System.out.println(Arrays.toString(array1));

    }
}